package com.qiwx.pigeon.fragment.query;

import java.util.ArrayList;
import java.util.List;

import fj.dropdownmenu.lib.pojo.DropdownItemObject;

/**
 * @description
 * @Author qiwx
 * @Date 2020-03-29 13:15
 * 获取筛选条件
 **/
public class QueryFilterData {
    public static List<DropdownItemObject> getWJData() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "无精数", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "1窝以上", "1"));
        datas.add(new DropdownItemObject(2, "2窝以上", "2"));
        datas.add(new DropdownItemObject(3, "3窝以上", "3"));
        datas.add(new DropdownItemObject(4, "4窝以上", "4"));
        return datas;
    }

    public static List<DropdownItemObject> getSJData() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "死精", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "1窝以上", "1"));
        datas.add(new DropdownItemObject(2, "2窝以上", "2"));
        datas.add(new DropdownItemObject(3, "3窝以上", "3"));
        datas.add(new DropdownItemObject(4, "4窝以上", "4"));
        return datas;
    }

    public static List<DropdownItemObject> getFHData() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "孵坏", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "1窝以上", "1"));
        datas.add(new DropdownItemObject(2, "2窝以上", "2"));
        datas.add(new DropdownItemObject(3, "3窝以上", "3"));
        datas.add(new DropdownItemObject(4, "4窝以上", "4"));
        return datas;
    }

    public static List<DropdownItemObject> getCDData() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "产蛋量", "1000000");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "1窝以下", "1"));
        datas.add(new DropdownItemObject(2, "2窝以下", "2"));
        datas.add(new DropdownItemObject(3, "3窝以下", "3"));
        datas.add(new DropdownItemObject(4, "4窝以下", "4"));
        return datas;
    }

    public static List<DropdownItemObject> getData5() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "单受精数", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "2窝以上", "2"));
        return datas;
    }

    public static List<DropdownItemObject> getDataOrder() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "综合", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "按产蛋窝数降序", "1"));
        datas.add(new DropdownItemObject(2, "按2个蛋无精窝数降序", "2"));
        datas.add(new DropdownItemObject(3, "按孵坏蛋窝数降序", "3"));
        datas.add(new DropdownItemObject(4, "按2个蛋死精窝数降序", "4"));
        datas.add(new DropdownItemObject(5, "按1个蛋受精窝数降序", "5"));
        return datas;
    }

    public static List<DropdownItemObject> getWXDDays() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "未下蛋天数", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "5天以上", "5"));
        datas.add(new DropdownItemObject(2, "10天以上", "10"));
        datas.add(new DropdownItemObject(3, "15天以上", "15"));
        datas.add(new DropdownItemObject(4, "20天以上", "20"));
        datas.add(new DropdownItemObject(5, "25天以上", "25"));
        return datas;
    }

    public static List<DropdownItemObject> getCageStatus() {
        List<DropdownItemObject> datas = new ArrayList<>();//分类
        DropdownItemObject typeObj = new DropdownItemObject(0, "全部", "0");
        datas.add(typeObj);
        datas.add(new DropdownItemObject(1, "一公一母", "1"));
        datas.add(new DropdownItemObject(2, "双公", "4"));
        datas.add(new DropdownItemObject(3, "双母", "3"));
        datas.add(new DropdownItemObject(4, "单只", "2"));
        datas.add(new DropdownItemObject(5, "单公", "5"));
        datas.add(new DropdownItemObject(6, "单母", "6"));
        datas.add(new DropdownItemObject(7, "配对中", "7"));
        return datas;
    }
}
